/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}

.slides,
.flex-control-nav,
.entry .flex-direction-nav li {margin: 0; padding: 0; list-style: none !important;}
.flexslider .slides li {list-style: none !important;}


/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.slideshow-sc .flex-direction-nav .flex-next, .slideshow-sc .flex-direction-nav .flex-prev{
    width: 52px; height: 52px;  cursor: pointer; text-indent: -9999px; top: 43%;
}

.slideshow-sc .flex-direction-nav .flex-next, .slideshow-sc .flex-direction-nav .flex-prev {width: 33px; height: 33px; }
.slideshow-sc .flex-direction-nav .flex-next { background: url(../images/direction_nav_3.png) -35px 0 no-repeat; position: absolute; right: 0px; }
.slideshow-sc .flex-direction-nav .flex-prev { background: url(../images/direction_nav_3.png) 0 0 no-repeat; position: absolute; left: 0px; }
.slideshow-sc .flex-direction-nav .flex-next:hover { background: url(../images/direction_nav_3.png) -105px 0 no-repeat; }
.slideshow-sc .flex-direction-nav .flex-prev:hover { background: url(../images/direction_nav_3.png) -70px 0 no-repeat; }

.portfolio-item-slideshow .flex-direction-nav .flex-next, .portfolio-item-slideshow .flex-direction-nav .flex-prev {position:absolute;z-index: 99;width: 33px; height: 33px; cursor: pointer; text-indent: -9999px;top: 50%;margin-top:-16px;}
.portfolio-item-slideshow .flex-direction-nav .flex-next { background: url(../images/direction_nav_3.png) -35px 0 no-repeat; position: absolute; right: 0px; }
.portfolio-item-slideshow .flex-direction-nav .flex-prev { background: url(../images/direction_nav_3.png) 0 0 no-repeat; position: absolute; left: 0px; }
.portfolio-item-slideshow .flex-direction-nav .flex-next:hover { background: url(../images/direction_nav_3.png) -105px 0 no-repeat; }
.portfolio-item-slideshow .flex-direction-nav .flex-prev:hover { background: url(../images/direction_nav_3.png) -70px 0 no-repeat; }

@media only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {

        .slideshow-sc .flex-direction-nav .flex-next,
        .slideshow-sc .flex-direction-nav .flex-prev,
        .slideshow-sc .flex-direction-nav .flex-next:hover,
        .slideshow-sc .flex-direction-nav .flex-prev:hover,
        .portfolio-item-slideshow .flex-direction-nav .flex-next,
        .portfolio-item-slideshow .flex-direction-nav .flex-prev,
        .portfolio-item-slideshow .flex-direction-nav .flex-next:hover,
        .portfolio-item-slideshow .flex-direction-nav .flex-prev:hover {
            background-size: 138px 33px;
            background-image: url('../images/direction_nav_3%402x.png');
    }
}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -15px; text-align: center; z-index: 20;}
.portfolio-item-slideshow .flex-control-nav {bottom: 5px;}
.flex-control-nav li {margin: 0 3px; display: inline-block; zoom: 1; *display: inline;}
.portfolio-item-slideshow .flex-control-nav li {margin: 0 1px; }
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.portfolio-item-slideshow .flex-control-paging li a {width: 8px; height: 8px;background: rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }
.sc-testimonials .flex-control-nav {bottom: auto;}

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .active {opacity: 1; cursor: default;}


/* Caption style */
/* IE rgba() hack */
/*.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}*/
.flex-caption {width: 300px; padding: 2%; position: absolute;}
.flex-caption h3 {
    color: #fff;
    font-size: 30px;
    line-height: 38px;
    display: block;
    width: auto;
    margin: 0 0 5px 10px;
}
.flex-caption h3 span  {
    color: #fff;
    background: rgba(0,0,0,.7);
    box-shadow: 10px 0 0  rgba(0,0,0,.7), -10px 0 0  rgba(0,0,0,.7);
}
.flex-caption p span {
    background: rgba(0,0,0,.7);
    padding: 10px;
    color: #fff;
    display: block;
    width: 300px;
    font-size: 13px;
    line-height: 22px;
}
.caption-left { top:25px;left:25px; text-align: left;}
.caption-right { top:25px;right:25px; text-align: left;}